#!/usr/bin/env python
# encoding: utf-8
# @author: Lin Han
# @contact: voldemort22@126.com
# @file: serializers.py
# @time: 2021/12/30 21:17
# @desc:
from rest_framework import serializers

from project.models import Project


class ProjectSerializer(serializers.ModelSerializer):
    class Meta:
        model = Project  # 指定序列化器从哪个模型映射字段
        fields = '__all__'